package com.itasura.facade;

import lombok.extern.slf4j.Slf4j;

/**
 * @author sailor wang
 * @date 2018/11/24 4:03 PM
 * @description
 */
@Slf4j
public class Main {
    public static void main(String[] args) {
        AirConditioner airConditioner = new AirConditioner();
        TV tv = new TV();
        Light light = new Light();

        EquipmentFacade equipmentFacade = new EquipmentFacade(airConditioner, light, tv);
        equipmentFacade.on();
        equipmentFacade.off();
    }
}